//
//  signalView.h
//  Select
//
//  Created by dihuijun on 17/3/17.
//  Copyright © 2017年 Cycle. All rights reserved.
//

#import <UIKit/UIKit.h>

///传值
typedef void(^chooseSignal)(NSString *content,NSIndexPath *indexPath);
@interface signalView : UIView<UITableViewDelegate,UITableViewDataSource>

/**   表格   */
@property (nonatomic, strong) UITableView *tableView;
/**   datasource   */
@property (nonatomic, strong) NSMutableArray *datasource;

/**  当前点击的哪一行*/
@property (nonatomic, strong) NSIndexPath *currentIndexPath;


/**   传值   */
@property (nonatomic, copy) chooseSignal block;

/** 初始化*/
+ (signalView *)initWithFrame:(CGRect)frame;

/** 刷新*/
- (void)reloadData;
@end
